package com.coolmusic;

public class Song {
    private String title;
    private String artist;

    public Song(String title, String artist) {
        this.title = title;
        this.artist = artist;
    }

    // Getter方法
    public String getTitle() { return title; }
    public String getArtist() { return artist; }
}
